// -----------------------------------------------------------------------
//  <copyright file="RoleResourceByRoleIdSpec.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2025 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-02-28 21:02</last-date>
// -----------------------------------------------------------------------

using DaprPlus.Authorization.Domain.Entities;


namespace DaprPlus.Authorization.Domain.Specs;

/// <summary>
/// 按角色ID查询角色资源的规约
/// </summary>
public class RoleResourceByRoleIdSpec(long roleId)
    : SpecificationBase<RoleResource>(rr => rr.RoleId == roleId);
